<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<style>
    .bgcoor{
        background: #ffffff;
        padding-top: 15px;
    }
    .fixed-table-toolbar{
        margin-bottom: 10px;
    }
    .pass {
        width: 10px;
        height: 10px;
        background: #41c958;
        border-radius: 50%;
        display: inline-block;
        margin-right: 7px;
        margin-bottom: 0px;
    }
    .audit {
        width: 10px;
        height: 10px;
        background: #fe8900;
        border-radius: 50%;
        display: inline-block;
        margin-right: 7px;
        margin-bottom: 0px;
    }
    .dedetels {
        width: 10px;
        height: 10px;
        background: red;
        border-radius: 50%;
        display: inline-block;
        margin-right: 7px;
        margin-bottom: 0px;
    }
    .finish{
        width: 10px;
        height: 10px;
        background: #a4bac8;
        border-radius: 50%;
        display: inline-block;
        margin-right: 7px;
        margin-bottom: 0px;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12 bgcoor">
        <div class="ibox">
            <div class="ibox-body">

                <div class="fixed-table-toolbar">
                    <div class="columns pull-left nopadding">
                        <select id="searchtype" name="searchtype" class="form-control">
                            <option value="">请选择试卷类型</option>
                            <option value="1">制定照护计划</option>
                            <option value="2">职业素养测评</option>
                        </select>
                    </div>


                    <div class=" pull-left" style="margin:0 4px">

                        <!--							<select id="certificateList" class="form-control">-->
                        <!--								<option value="">请选择考试批次</option>-->
                        <!--							</select>-->

                        <input type="text" name="certificateList" id="certificateList" class="form-control"
                               placeholder="请选择竞赛">

                    </div>
                    <div class="columns pull-left">
                        <button type="button" class="btn  btn-success"
                                onclick="downExcelModelTemplet()">
                            <i class="fa fa-download" aria-hidden="true"></i>下载导入模板
                        </button>

                    </div>
                    <div class="columns pull-left" style="margin-left:4px">
                        <form  id="importExcelForm" method="post"
                              enctype="multipart/form-data">
                            <input class="form-control" style="width:200px" name="file" id="fileUrl" type="file">
                        </form>
                    </div>
                    <div class="columns pull-left" style="margin-left:4px">
                        <button type="button"
                                class="btn  btn-success"
                                onclick="importExcel1($('#fileUrl'),$('#importExcelForm'),$('#searchtype').val(),$('#certificateList').val(),'/jzweb/examinationPaper/import')"
                                id="lead">
                            <i class="fa fa-upload" aria-hidden="true"></i>导入
                        </button>
                    </div>
                    <div class="columns pull-left">
<!--                        <button shiro:hasPermission="jzweb:examinationQuestions:add" type="button"-->
<!--                                class="btn  btn-primary" onclick="add()">-->
<!--                            <i class="fa fa-plus" aria-hidden="true"></i>添加题目-->
<!--                        </button>-->
<!--                        <button shiro:hasPermission="jzweb:examinationQuestions:batchRemove" type="button"-->
<!--                                class="btn  btn-danger"-->
<!--                                onclick="batchRemove()">-->
<!--                            <i class="fa fa-trash" aria-hidden="true"></i>删除-->
<!--                        </button>-->
                    </div>
<!--                    <div class="columns pull-right">-->
<!--                        <button class="btn btn-success" onclick="reLoad()">查询</button>-->
<!--                    </div>-->


<!--                    <div class="columns pull-right col-md-2 nopadding">-->
<!--                        <input id="introduce" type="text" class="form-control"-->
<!--                               placeholder="请输入题目描述">-->
<!--                    </div>-->
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_resetPwd_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="jzweb:examinationQuestions:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="jzweb:examinationQuestions:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div shiro:hasPermission="jzweb:examinationQuestions:resetPwd">
    <script type="text/javascript">
        var s_resetPwd_h = '';
    </script>
</div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/webJs/jzweb/examinationPaper/addPaper.js"></script>
</body>
</html>